package info.ideatower.compass.service;

import info.ideatower.compass.dao.SystemInfoDao;
import info.ideatower.compass.entity.SystemInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SystemInfoService {

    @Autowired
    SystemInfoDao sysDao;

    public SystemInfo getSystemInfoByName(String sysName) {
        return sysDao.selectByName(sysName);
    }
}
